package com.zhouyu.fileSync.FScommon.api;

import com.zhouyu.fileSync.FScommon.entities.FSClient;

/**
 * Created by zhouyu@lightinthebox.com on 2019/8/8
 * rpc service interface
 **/
public interface RegisterServiceRPC {
    /**
     * register the client to the server
     *
     * @param fsc
     * @return
     */
    boolean registerClient(FSClient fsc);

    /**
     * get client message from server by clientName and clientPassword
     *
     * @return
     */
    FSClient getClient(String clientName, String clientPassword);

}
